package com.testmall.mapper;

import com.testmall.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author Summer
* @description 针对表【b_comment】的数据库操作Mapper
* @createDate 2022-06-24 20:13:51
* @Entity com.testmall.entity.Comment
*/
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    int save(Comment comment);

    List query(Map map);

    List<Comment> queryReply(String id);
}




